// 转移表单
const transferForm = {
  title: '转移数据',
  submit: {
    show: true,
    label: '提交转移'
  },
  fields: [
    {
      label: '当前部门',
      type: 'input',
      placeholder: '',
      key: '',
      value: '',
      hide: false,
      disable: false,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: '请选择资产所在部门'
      }
    },
    //
    {
      label: '转移人员',
      type: 'input',
      placeholder: '',
      key: '',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: '请选择转移人员'
      }
    },
    // 转移给个人，也有可能转移给部门，所以要多加选项。转移给部门就要选择部门，转移给人就要选择人。
    // ts_type: 列表: 1转人，2转部门
    // users: [{“name”:”刘盛鹏”,”avatar”:””,”userid”:”manager8198”}]
    // departments: [{“id”:”1”,”name”:”根部门”,”number”:”66”}]
    {
      label: '转移目标',
      type: 'input',
      placeholder: '',
      key: '',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: false,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '转移时间',
      type: 'input',
      placeholder: '',
      key: 'create_time',
      value: '2020-05-25',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: true,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '转移备注',
      type: 'textarea',
      placeholder: '请输入报修备注',
      key: 'ts_reason',
      value: '',
      hide: false,
      disable: true,
      isExtraData: false,
      ignore: false,
      extraData: {},
      rules: {
        required: true,
        message: ''
      }
    },
    {
      label: '上传图片',
      type: 'uploader',
      placeholder: '只支持上传6张图片',
      key: '',
      value: [],
      hide: false,
      disable: false,
      isExtraData: true,
      ignore: true,
      extraData: [],
      rules: {
        required: true,
        message: ''
      }
    }
  ]
};

export default transferForm;
